
/**
 * 我的课程
 * @returns
 */
export const useFindMyNotePageApi = (body) => {
    return useHttpPost("/v1/user/center/note/list",{body})
}


/**
 * 收藏课程
 * @returns
 */
export const useFindNoteUserFavPageApi = (body) => {
    return useHttpPost("/v1/user/center/note/fav",{body})
}

/**
 * 喜欢课程
 * @returns
 */
export const useFindNoteUserLikePageApi = (body) => {
    return useHttpPost("/v1/user/center/note/like",{body})
}

/**
 * 足迹课程
 * @returns
 */
export const useFindMyNotesBroswerPageApi = (body) => {
    return useHttpPost("/v1/user/center/note/broswer",{body})
}

/**
 * 取消收藏
 * @returns
 */
export const useCancelFavNoteApi = (id) => {
    return useHttpPost(`/v1/user/center/note/cancel/fav?id=${id}`,{})
}

/**
 * 取消点赞
 * @returns
 */
export const useCanceLikeNoteApi = (id) => {
    return useHttpPost(`/v1/user/center/note/cancel/like?id=${id}`,{})
}

/**
 * 删除浏览记录
 * @returns
 */
export const useRemoveNoteHitsApi = (id) => {
    return useHttpPost(`/v1/user/center/note/remove/broswer?id=${id}`,{})
}
